package com.wing.wcabinet.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.wcabinet.model.entity.WcabCheckedInventoryProduct;
import com.wing.wcabinet.model.request.WcabCheckedInventoryProductForm;
import com.wing.wcabinet.model.response.WcabCheckedInventoryProductVO;

import java.util.List;
import java.util.Map;

/**
 * 回收/维修柜产品库存(所有柜子)(盘验后)-Service
 *
 * @author
 */
public interface WcabCheckedInventoryProductService extends IService<WcabCheckedInventoryProduct> {

    /**
     * 添加
     *
     * @param wcabCheckedInventoryProductForm
     * @return
     */
    int add(WcabCheckedInventoryProductForm wcabCheckedInventoryProductForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<WcabCheckedInventoryProductVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<WcabCheckedInventoryProductVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    WcabCheckedInventoryProductVO get4appById(Long id);
}
